#include"queue.h"
using namespace c3pom;
PortalBlock* queue::pop()
{
	PortalBlock* pb= q.front();
	q.pop();
	return pb;
}

void queue::push(PortalBlock* pb)
{
	q.push(pb);
}

int queue::length()
{
	return q.size();
}
